﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
using System.IO;

namespace hxweditor
{
	public class StaticNpcBuildEditor : BaseEditorWindow<StaticNpcBuildEditor>
	{
		private string outputPathKey = "MD5BuildEditor_outputPath";
		private string outputPath = "";

		StaticNpcBuildEditor()
		{
			this.titleContent = new GUIContent("静态NPC编辑器");
		}

		void OnEnable()
		{ 
			outputPath = PlayerPrefs.GetString(outputPathKey, "");
		}

		void OnDisable()
		{
			PlayerPrefs.SetString(outputPathKey, outputPath);
		}

		void OnGUI(){

			outputPath = ShowInputString("输出目录:", outputPath);

			if (ShowButton ("生成该场景NPC列表")) {

			}

		}

	}

}